﻿@model PhoneBilling.Models.ExtensionSearchModel
@{
    ViewBag.Title = "分机查询";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script type="text/javascript">
    $(document).ready(function () {
        $("#btnConfirm").ligerButton(
        {
            click: function () {
                $('form').submit();
            }
        });
    });
    
</script>
@using (Html.BeginForm())
{
    if (Model.Message != null)
    {<h2>@Model.Message</h2>}
    <div>
        <div class="system_input_contain">
            @Html.LabelFor(m => m.Extension)
            @Html.TextBoxFor(m => m.Extension)
        </div>
        <div class="system_input_contain">
            @Html.LabelFor(m => m.User)
            @Html.TextBoxFor(m => m.User)
        </div>
        @Html.ValidationMessageFor(m => m.Extension)
        <div class="system_input_contain">
            <input type="button" id="btnConfirm" value="查询" />
        </div>
    </div>
}
